<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<title>注册页面</title>
		<link rel="stylesheet" href="../dt/css/bootstrap.min.css" />
		<link rel="stylesheet" href="../dt/css/a.css" />
		<script type="text/javascript" src="../dt/js/jquery-1.7.2.js" ></script>

	</head>

	<body background="../dt/img/about-us/23739032_1374736248873.jpg">
		<div style="height:1px;"></div>
		<div class="login">
			<div id="reg">
				<header>
					<h1>注册</h1>
				</header>
				<form:form method="post" modelAttribute="user" action="/dt/reg.do">
					<div class="sr">
						<div class="name">
							<form:input path="name" placeholder="请输入注册用户名" class="name_inp" />
							<form:errors path="name" cssClass="has-error" />
							<label>
								<i class="sublist-icon glyphicon glyphicon-user"></i>
							</label>
						</div>
						<div class="name">
							<form:input path="phone" placeholder="这里输入电话号码" class="name_inp" onblur="test()"/>
							<form:errors path="phone" cssClass="has-error" />
							<label>
								<i class="sublist-icon glyphicon glyphicon-phone"></i>
							</label>
						</div>
						<div class="name">
							<form:password path="passwd" placeholder="这里输入密码" class="name_inp" />
							<form:errors path="passwd" cssClass="has-error" />
							<label>
								<i class="sublist-icon glyphicon glyphicon-pencil"></i>
							</label>
						</div>
						<p>没有账号，请<a href="/dt/login.htm">登录</a></p>
						<button class="dl">注册</button>
					</div>
				</form:form>
			</div>	
		</div>
	</body>
</html>